package com.wanmait.baohan.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.mapper.CarApprovalMapper;
import com.wanmait.baohan.pojo.CarApproval;
import com.wanmait.baohan.service.CarApprovalService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * TODO
 *
 * @author 打豆豆
 * @version 1.0
 * @date 2021/1/14 0:14
 * @description:
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CarApprovalServiceImpl implements CarApprovalService {

    @Resource
    private CarApprovalMapper carApprovalMapper;
    @Override
    public void insert(CarApproval object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(CarApproval object) {

    }

    @Override
    public CarApproval findById(Integer id) {
        return carApprovalMapper.selectByApplicationId(id);
    }

    @Override
    public List<CarApproval> findAll() {
        return null;
    }

    @Override
    public List<CarApproval> findAll(CarApproval object) {
        return null;
    }

    @Override
    public PageInfo<CarApproval> findPage(int pageNum) {
        return null;
    }

    @Override
    public PageInfo<CarApproval> findPage() {
        return null;
    }

    @Override
    public PageInfo<CarApproval> findPage(int pageNum, CarApproval object) {
        return null;
    }

    @Override
    public PageInfo<CarApproval> findPage(CarApproval object) {
        return null;
    }
}
